﻿using System;
using System.Collections.Generic;
using RoleDataAuth = BotonJXC.Entity.RoleDataAuth;

namespace BotonJXC.DAO
{
    public class RoleDataAuthDAO : NHibernateDao<RoleDataAuth, int>
    {

        public void DeleteByRoleId(int roleId)
        {
            string hql = "delete from RoleDataAuth where RoleId=?";
            ExecuteUpdate(hql, roleId);
        }
    }
}
